<style type="text/css">
.pageFormContent p{width: 100%;}
</style>
<div class="pageContent">
	<form method="post" action="external/update" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>企业名称：</label>
				<input class="textInput required" name="name" value="#(external.name)"/>
				<input type="hidden" name="id" value="#(external.id)"/>
				<span class="info">如：云南云天化集团有限公司</span>
			</p>
			<p>
				<label>企业代码：</label>
				<input class="textInput required" name="code" value="#(external.code)" />
				<span class="info">字母和数字组合的英文，全局唯一，也可以是社会信用代码或组织机构代码，如：ythcode1</span>
			</p>
			<p>
				<label>所在片区：</label>
				<input class="textInput required" name="region" value="#(external.region)" />
				<span class="info">企业所在的片区，如：西南片区</span>
			</p>
			<p>
				<label>所使用系统：</label>
				<select class="combox" name="use_system">
					#for(item: const.external)
					#if(item.key == external.use_system)
					<option value="#(item.key)" selected>#(item.value)</option>
					#else
					<option value="#(item.key)">#(item.value)</option>
					#end
					#end
				</select>
			</p>
			<p>
				<label>企业APPID：</label>
				<input class="required" name="appid" value="#(external.appid)"/>
			</p>
			<p>
				<label>企业APPSECRET：</label>
				<input class="required" name="appsecret" value="#(external.appsecret)" size="40"/>
			</p>
			<p>
				<label>企业接口地址：</label>
				<input class="required" name="url" value="#(external.url)" size="60"/>
			</p>
			<p>
				<label>服务ID：</label>
				<input class="textInput required" name="serviceid" value="#(external.serviceid)" size="60"/>
				<span class="info">老国能中心填写"15,2337"，前面为前置机ID，后面为企业ID</span>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
